<% content_for(:head) do %>
  <%= calendar_date_select_includes "default" %>
<% end %>

<div class="admin goals">
  <div class="section header dark-50">
    <h2 class="light">Track Goals</h2>
  </div>
  <br/><br/>
  
  <%= render :partial => "goal", :collection => @goals, :locals => { :admin => true } %>
  <br/>
  
  <div class="section header dark-50">
    <h2 class="light">Recent Goals</h2>
  </div>
  <div class="section body dark-25">
    <% @goals.each do |goal| %> 
      <%= link_to( h(goal.name), admin_goals_edit_url(:id => goal.id, :type => goal.class.to_s) ) %>
      <br/>
    <% end %>
  </div>
</div>